package org.edu.modules.oa.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

@Data
//数据表名
@TableName("ve_oa_meet_place")
//返回值变程对象本身
@Accessors(chain = true)
//重写toString方法
@EqualsAndHashCode(callSuper = false)
public class VeOaMeetPlaceEntity {

    /**主键id*/
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键id")
    private Long id;

    //场地名称
    @Excel(name = "场地名称", width = 15)
    @ApiModelProperty(value = "场地名称")
    @TableField(value = "place_name")
    private String placeName;

    //状态(0:启用;1:禁用)
    @Excel(name = "状态(0:启用;1:禁用)", width = 15)
    @ApiModelProperty(value = "状态(0:启用;1:禁用)")
    @TableField(value = "status")
    private Integer status;


    //创建人
    @Excel(name = "创建人", width = 15)
    @ApiModelProperty(value = "创建人")
    @TableField(value = "create_by")
    private String createBy;

    //创建时间
    @Excel(name = "创建时间", width = 15)
    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //修改人
    @Excel(name = "修改人", width = 15)
    @ApiModelProperty(value = "修改人")
    @TableField(value = "update_by")
    private String updateBy;

    //修改时间
    @Excel(name = "修改时间", width = 15)
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    //逻辑删除
    @ApiModelProperty(value = "逻辑删除(1:已删除，0:未删除)")
    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;


    //终端id
    @Excel(name = "终端id", width = 15)
    @ApiModelProperty(value = "终端id")
    @TableField(value = "terminalId")
    private Integer terminalId;

    //类型ID
    @Excel(name = "类型ID", width = 15)
    @ApiModelProperty(value = "类型ID")
    @TableField(value = "item_id")
    private String itemId;



}
